if ( SERVER ) then

	AddCSLuaFile( "shared.lua" )
	
	SWEP.Weight = 5
	SWEP.AutoSwitchTo = false
	SWEP.AutoSwitchFrom = false 
	
	SWEP.HoldType = "physgun"
	
elseif ( CLIENT ) then

	SWEP.PrintName = "#GMOD_Physgun"
	SWEP.DrawAmmo = false
	SWEP.DrawCrosshair = true
	
end

SWEP.Slot = 0
SWEP.SlotPos = 3

SWEP.Author					= ""
SWEP.Contact				= ""
SWEP.Purpose				= ""
SWEP.Instructions			= ""

SWEP.Spawnable				= true
SWEP.AdminSpawnable			= true

SWEP.ViewModel				= "models/weapons/v_superphyscannon.mdl"
SWEP.WorldModel				= "models/weapons/w_physics.mdl"
SWEP.ViewModelFlip 			= false

SWEP.Primary.ClipSize		= -1
SWEP.Primary.DefaultClip	= -1
SWEP.Primary.Automatic		= false
SWEP.Primary.Ammo			= "none"

SWEP.Secondary.ClipSize		= -1
SWEP.Secondary.DefaultClip	= -1
SWEP.Secondary.Automatic	= false
SWEP.Secondary.Ammo			= "none"

SWEP.FiresBullets			= false

SWEP.DrawHUDPickup = false

function SWEP:PrimaryAttack()
	self:SendWeaponAnim( ACT_VM_PRIMARYATTACK )
	self:SetNextPrimaryFire( CurTime() + 0.5 )
end
function SWEP:SecondaryAttack()
end

if ( CLIENT ) then
	surface.CreateFont( "HalfLife2", {name="HalfLife2", size=120, weight=400} )
end
function SWEP:DrawWeaponSelection( x, y, wide, tall, alpha )
	draw.SimpleText( "h", "HalfLife2", x + wide/2, y + tall*0.5, Color( 255, 210, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
end
